﻿using System.Collections.Generic;

namespace CIS.Web.Models
{
	public class HomeModel
	{
		public List<string> BannerList { get; set; }

		public string Id { get; set; }

		public string MainText { get; set; }

		public string HasLogin { get; set; }

		public List<SliderModel> SliderList { get; set; }

		public List<MeetingInHomeModel> MeetingInHomeList { get; set; }

		public List<MeetingRecommendModel> MeetingRecommendList { get; set; }
	}

	public class SliderModel {
		public string id { get; set; }
		public string link { get; set; }
	}

	public class MeetingInHomeModel {
		public string id { get; set; }
		public string conferenceName { get; set; }
		public string conferenceNickName { get; set; }
		public string conferenceStartDate { get; set; }
		public string conferenceEndDate { get; set; }
		public string operateLocation { get; set; }
		public string homepageUrl { get; set; }
		public bool allowRegister { get; set; }
		public bool allowContribute { get; set; }

		public bool hasContribute { get; set; }
		public bool hasRegister { get; set; }
	}

	public class MeetingRecommendModel
	{
		public string id { get; set; }
		public string conferenceName { get; set; }
		public string conferenceNickName { get; set; }
		public string conferenceStartDate { get; set; }
		public string conferenceEndDate { get; set; }
		public string operateLocation { get; set; }
		public string homepageUrl { get; set; }
		public bool allowRegister { get; set; }
		public bool allowContribute { get; set; }

		public bool hasContribute { get; set; }
		public bool hasRegister { get; set; }
	}
}